<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:p="http://primefaces.org/ui"
        xmlns:ui="http://java.sun.com/jsf/facelets">

<h:body>
	<ui:composition template="/pages/templates/master.xhtml">
			<ui:define name="tituloPagina">
            Gerar Documentos
        	</ui:define>
	
	<ui:define name="conteudo">
	<h:form id="form" prependId="true" acceptcharset="ISO-8859-1">
	<p:messages autoUpdate="true" id="msg" /> 

		<p:panel menuTitle="Gerar Documentos" header="Gerar Documentos">

	<!-- 		<h:inputHidden id="teste" value="#{clienteBean..matricula}" /> -->

			<h:outputLabel value="CPF do Cliente*:" /><br />
			<p:inputText value="#{funcionarioBean.funcionario.nome}" 
				required="true"
				style="color: black;" 
				requiredMessage="É necessário o CPF para gerar relatório"/><br />
				
 			<p:separator />

			<p:commandButton value="Gerar" 
				action="#{funcionarioBean.salvar}"  /> 

			</p:panel>

		<br />
	</h:form>

	</ui:define>
	</ui:composition>
</h:body>
</html>